package com.heima.apis.user;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("leadnews-user")
public interface IUserClient {
    //是否已关注
    @PostMapping("/api/v1/user/isFollow")
    public boolean isFollow(@RequestParam("authorId") Integer authorId, @RequestParam(value = "userId",required = false) Integer userId);

}
